<!DOCTYPE html>
<html>
<head>
<base href="${basePath}">
<meta charset="UTF-8">
<title>修改课程</title>
$!{include("import_js_css.html")}
<!-- #set(Place place) -->
<!-- #set(Coach teacher) -->
<!-- #set(Coach assistant) -->
</head>
<body>
	${include("header.html")}
	<div class="container menu_all">
		<div class="panel panel-info">
			<div class="panel-heading" style="background: #E9E9E9;">
				<h3 class="panel-title">修改课程</h3>
			</div>
			<div id="div_result_member" style="padding: 15px;">
				<form class="form-horizontal" role="form"
					action="yueyogaAdmin/updateChedule.jhtml"
					method="post">
					<div class="form-group">
						<label class="col-sm-1 control-label" style="color: #4da2d4;"><b>课程信息</b></label>
						<input type="hidden" name="CheduleId" value="${chedeuleId}" /> <br />
						<br /> <label for="inputPlacement" class="col-sm-1 control-label">课程场地</label>
						<div class="col-sm-4">
							<select id="inputPlacement" data-live-search="true"
								class="selectpicker" data-width="392px" name="place">
								<option value="">请选择班级场地...</option>
								<!-- #for(Place p : listPlace) -->
								<!-- #if(p.id==place.id) -->
								<option value="${p.id}" selected>${p.name}</option>
								<!-- #else -->
								<option value="${p.id}">${p.name}</option>
								<!-- #end -->
								<!-- #end -->
							</select>
						</div>
						<label for="inputStartDate" class="col-sm-1 control-label">开始时间</label>
						<div class="col-sm-4">
							<div id="inputStartDate" class="input-group date form_datetime"
								data-date="2014-01-01">
								<input type="text" class="form-control" name="startdate"
									id="inputStartDate" value="${starttime}" 
									readonly> <span class="input-group-addon"><span
									class="glyphicon glyphicon-remove"></span></span> <span
									class="input-group-addon"><span
									class="glyphicon glyphicon-th"></span></span>
							</div>
							<script type="text/javascript">
								$("#inputStartDate").datetimepicker({
									language : "zh-CN",
									startView : "day",
									format : "HH:ii",
									autoclose : true,
									todayBtn : true,
									minuteStep : 1,
									pickerPosition : "bottom-right"
								});
							</script>
						</div>
						<br /> <br /> <label for="inputendDate"
							class="col-sm-1 control-label">结束时间</label>
						<div class="col-sm-4">
							<div id="inputendDate" class="input-group date form_datetime"
								data-date="2014-01-01">
								<input type="text" class="form-control" name="enddate"
									id="inputendDate" value="${endtime}" 
									readonly> <span class="input-group-addon"><span
									class="glyphicon glyphicon-remove"></span></span> <span
									class="input-group-addon"><span
									class="glyphicon glyphicon-th"></span></span>
							</div>
							<script type="text/javascript">
								$("#inputendDate").datetimepicker({
									language : "zh-CN",
									startView : "day",
									format : "HH:ii",
									autoclose : true,
									todayBtn : true,
									minuteStep : 1,
									pickerPosition : "bottom-right"
								});
							</script>
						</div>
						<label for="inputCoach0" class="col-sm-1 control-label">选择教练</label>
						<div class="col-sm-4">
							<select id="inputCoach0" data-live-search="true"
								class="selectpicker" data-width="392px" name="coach0">
								<option value="">请选择教练...</option>
								<!-- #for(Coach ch0 : listCoach0) -->
								<!-- #if(ch0.coachId==teacher.coachId) -->
								<option value="${ch0.coachId}" selected>${ch0.name}</option>
								<!-- #else -->
								<option value="${ch0.coachId}">${ch0.name}</option>
								<!-- #end -->
								<!-- #end -->
							</select>
						</div>
						<br /> <br /> <label for="inputCoach1"
							class="col-sm-1 control-label">选择助教</label>
						<div class="col-sm-4">
							<select id="inputCoach1" data-live-search="true"
								class="selectpicker" data-width="392px" name="coach1">
								<option value="">请选择助教...</option>
								<!-- #for(Coach ch1 : listCoach1) -->
								<!-- #if(ch1.coachId==assistant.coachId) -->
								<option value="${ch1.coachId}" selected>${ch1.name}</option>
								<!-- #else -->
								<option value="${ch1.coachId}">${ch1.name}</option>
								<!-- #end -->
								<!-- #end -->
							</select>
						</div>
						<div class="col-sm-offset-2"
							style="margin: 0px 100px 0 0; float: right;">
							<button type="submit" class="btn btn-success">修改</button>
						</div>
					</div>
				</form>
			</div>
		</div>
	</div>
</body>
</html>
